statistics using python